package com.midea.ai.air.ui.more.data;

/**
 * Created by ouyangdi on 2015/12/8.
 *"更多"主页, ListView中Item(显示左侧图标)的数据模型
 */
public class MainListItem extends BaseListItem {
    private int mResIdIcon; //图标的资源ID
    private boolean mIsDrawTopLine;//是否绘制顶部line

    public MainListItem(int mResIdIcon, String mStrName, boolean isDrawTopLine, boolean isDrawBotLine) {
        super(mStrName,isDrawBotLine);
        this.mResIdIcon = mResIdIcon;
        this.mIsDrawTopLine = isDrawTopLine;
    }

    public MainListItem(int mResIdIcon, String mStrName, boolean isDrawTopLine, boolean isDrawBotLine, int toPageID) {
        super(mStrName,isDrawBotLine,toPageID);
        this.mResIdIcon = mResIdIcon;
        this.mIsDrawBotLine = isDrawBotLine;
        this.mToPageTag = toPageID;
    }

    public int getResIdIcon() {
        return mResIdIcon;
    }

    public boolean isDrawTopLine() {
        return mIsDrawTopLine;
    }

    public int getToPageTag() {
        return mToPageTag;
    }
}

